UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit all attempts to alter system time through clock_settime.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51069 OL6-00-000171 SV-65275r3_rule Low
Description
Arbitrary changes to the system time can be used to obfuscate nefarious activities in log files, as well as to confuse network services that are highly dependent upon an accurate system time (such as sshd). All changes to the system time should be audited.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2019-10-01

Details

Check Text ( C-53499r3_chk )
To determine if the system is configured to audit calls to the "clock_settime" system call, run the following command:

$ sudo grep -w "clock_settime" /etc/audit/audit.rules
-a always,exit -F arch=b32 -S clock_settime -k audit_time_rules
-a always,exit -F arch=b64 -S clock_settime -k audit_time_rules

If the system is 64-bit and does not return a rule for both "b32" and "b64" architectures, this is a finding.

If the system is not configured to audit the "clock_settime" system call, this is a finding.
Fix Text (F-55875r5_fix)
On a 32-bit system, add the following to "/etc/audit/audit.rules":

# audit_time_rules
-a always,exit -F arch=b32 -S clock_settime -k audit_time_rules

If the system is 64-bit, then also add the following:

# audit_time_rules
-a always,exit -F arch=b64 -S clock_settime -k audit_time_rules